package com.cheng.crm.workbench.service;

import com.cheng.crm.workbench.domain.Activity;

import java.util.List;
import java.util.Map;

public interface ActivityService {
    int saveCreateActivity(Activity activity);
    List<Activity> queryActivityByConditionForPage(Map<String,Object> map);

    int queryCountOfActivityByCondition(Map<String,Object> map);

    //根据所选市场活动的id删除相关市场活动
    int deleteActivityByIds(String[] ids);
    //修改市场活动
    Activity queryActivityById(String id);
    int saveEditActivity(Activity activity);

    //查询所有的市场活动
    List<Activity> queryAllActivitys();

    int saveCreateActivityByList(List<Activity> activityList);
}
